<template>
	<view>
		<uni-section title="选择服务" type="line" style="height: ;" titleFontSize="20px">
			<uni-grid :column="3" :showBorder="false" @click="">
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="person" size="40" color="#ddbc35"></uni-icons>
						<text class="text">人工护理</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons  type="notification" size="40" color="#ddbc35"></uni-icons>
						<text class="text">打针输液</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="folder-add" size="40"color="#ddbc35"></uni-icons>
						<text class="text">上门体检</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box" @click="toInstall">
						<uni-icons type="bars" size="40"color="red"></uni-icons>
						<text class="text">设备安装</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="heart" size="40" color="red"></uni-icons>
						<text class="text">设备维修</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="link" size="40" color="red"></uni-icons>
						<text class="text">设备补药</text>
					</view>
				</uni-grid-item>
			
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="mail-open-filled" size="40" color="blue"></uni-icons>
						<text class="text">投诉建议</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="phone-filled" size="40" color="blue"></uni-icons>
						<text class="text">人工客服</text>
					</view>
				</uni-grid-item>
				<uni-grid-item>
					<view class="grid-item-box">
						<uni-icons type="shop" size="40"color="blue"></uni-icons>
						<text class="text">关于我们</text>
					</view>
				</uni-grid-item>
				
			</uni-grid>
			
		</uni-section>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			toInstall(){
				uni.navigateTo({
					url:"/pages/homepage/InstallDevice/index"
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
		background-color: #fff;
		min-height: 100%;
		height: auto;
	}

	.text {
		text-align: center;
		font-size: 30rpx;
		margin-top: 10rpx;
	}

	.grid-item-box {
		flex: 1;
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 15px 0;
	}
</style>